package com.zm.exam.springbootexam.entry;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zm
 * @since 2024-08-14
 */
@Data
@TableName("exam_detail")
public class ExamDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;

    @TableField("eid")
    private Integer eid;

    @TableField("qid")
    private Integer qid;

    /**
     * 考试人填写的答案
     */
    @TableField("answer")
    private String answer;

    /**
     * 对错 1 对 0 错
     */
    @TableField("tf")
    private Integer tf;

    @TableField(exist = false)
    private Question question;


}
